package com.example.shopping_web_back.pojo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

//本文件主要是用于定义每个商品的信息
@Data
public class Goods {
    @NotNull
    private Integer id;
    @NotNull
    private String title;
    @NotNull
    private Double price;
    private String province;
    private String area;
    private Integer salesNum;
    @NotNull
    private String business;
    private String image;
    private String category;
}
